package work2.phone;

import static work2.phone.PhoneCard.*;

public enum  EnumCard {

    BIG(TYPE_BIG,886,"50",50),
    SMALL(TYPE_SMALL,886,"30",30),
    VERY_SMALL(TYPE_VERY_SMALL,886,"20",20);
    private int cardType ;
    private int cardNum;


    private String balance;
    private int callTime;

    EnumCard(int cardType, int cardNum, String balance, int callTime) {
        this.cardType = cardType;
        this.cardNum = cardNum;
        this.balance = balance;
        this.callTime = callTime;
    }
    void show(){
        System.out.println("卡类型：" + cardType + " 通话时间：" + callTime + "  月消费:" + balance);
    }
}
